/**
 * Created with IntelliJ IDEA.
 * User: eagami
 * Date: 30/04/14
 * Time: 17:22
 * To change this template use File | Settings | File Templates.
 */
import play.Application;
import play.GlobalSettings;
import play.Logger;
import aggregator.EsperAggregator;

public class Global extends GlobalSettings {

    public void onStart(Application app) {
        Logger.info("Application has started");
        
        EsperAggregator esper = new EsperAggregator();
        new Thread(esper).start();
    }

    public void onStop(Application app) {
        Logger.info("Application shutdown...");
    }
}